package com.google.code.sip.ucenter.dao;

import java.util.List;

import com.google.code.sip.ucenter.model.Credit;
import com.google.code.sip.ucenter.model.CreditType;
import com.google.code.sip.ucenter.model.User;

public interface CreditDao extends BaseDao {

	List<Credit> findByUser(User user);

	Credit get(User user, CreditType creditType);

	List<Credit> findByCreditType(CreditType creditType);

}